//
//  MPClueImageTableViewCell.m
//  SearchPeople
//
//  Created by zk on 16/5/6.
//
//

#import "MPClueImageTableViewCell.h"
#import <UIImageView+WebCache.h>

@implementation MPClueImageTableViewCell

- (void)awakeFromNib
{
    [super awakeFromNib];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];
}

- (void)configWithDic:(NSDictionary *)dic
{
    NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"%@",dic[@"picture"]]];
    UIImage *image = [UIImage imageNamed:@"placeHolder"];
    [self.ImageView sd_setImageWithURL:url placeholderImage:image];

    self.contentLabel.text = [NSString stringWithFormat:@"描述：%@",dic[@"description"]];

    self.timeLabel.text = [NSString stringWithFormat:@"时间：%@",dic[@"time"]];
}

@end
